package cn.lg.soar.system.biz.modules.auth.enums;

import cn.lg.soar.common.annotations.DictDefine;
import cn.lg.soar.common.data.dict.IDict;
import com.fasterxml.jackson.annotation.JsonValue;

/**
 * @author luguoxiang 469599794@qq.com
 * @Date: 2024/3/23 18:58
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@DictDefine(name = "岗位名称")
public enum PostNameEnum implements IDict<Integer> {
    intern("实习生", 0),
    junior_employee("初级职员", 1),
    employee("职员", 2),
    senior_employee("高级职员", 3),
    team_leader("团队主管", 4),
    project_manager("项目经理", 5),
    product_manager("产品经理", 6),
    sales_manager("销售经理", 7),
    tech_manager("技术经理", 8),
    dept_leader("部门主管", 9),
    dept_manager("部门经理", 10),
    senior_manager("高级经理", 11),
    director("总监", 12),
    senior_director("高级总监", 13),
    vp("副总裁", 14),
    executive_vp("执行副总裁", 15),
    general_manager("总经理", 16),
    deputy_ceo("副总经理", 17),
    ceo("首席执行官/CEO", 18),
    coo("首席运营官/COO", 19),
    cto("首席技术官/CTO", 20),
    cfo("首席财务官/CFO", 21),
    cmo("首席市场官/CMO", 22),
    cio("首席信息官/CIO", 23),
    chairman("董事长", 24);
    ;

    PostNameEnum(String label, Integer value){
        this.label = label;
        this.value = value;
    }

    @JsonValue
    private final Integer value;
    private final String label;
    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getLabel() {
        return this.label;
    }
}
